<!DOCTYPE html>
<html lang="en" xmlns:th="https://thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
欢迎访问首页
<a th:href="@{/target}">获取cookie</a><br>
<a th:href="@{/hallo/index}">hallo</a><br>
<a th:href="@{/hello/index}">hello</a><br>
</body>
</html>